package com.dwms.feign.declare;

import com.dwms.entity.PageResponse;
import com.dwms.entity.Result;
import com.dwms.entity.declare.jeOutboundDetail.request.JeOutboundDetailQueryRequest;
import com.dwms.entity.declare.jeOutboundDetail.response.JeOutboundDetailResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @ClassName: JeOutboundDetailController
 * @Description: JeOutboundDetail
 * @Create 2025-09-28 20:48:56
 * @Author WH
 * @Since 1.0.0
**/

@FeignClient(name = "declare-server", path = "/jeOutboundDetail")
public interface JeOutboundDetailFeignClient {

    /**
     * 分页查询
     *
     * @param query
     *          查询参数
     * @return
     */
    @PostMapping("/findPage")
    Result<PageResponse<JeOutboundDetailResponse>> findPage(@RequestBody JeOutboundDetailQueryRequest query);

}
